package mesweb.mesweb.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import mesweb.mesweb.entity.MESTechnologySetTechnology;
import mesweb.mesweb.mapper.MesTechnologySetTechnologyMapper;
import mesweb.mesweb.service.IMESTechnologySetTechnologyService;
import mesweb.mesweb.vo.MesTechnologySetTechnologyVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 工艺和工艺组的多对多的关系
 * @Author: jeecg-boot
 * @Date:   2021-06-25
 * @Version: V1.0
 */
@Service
public class MESTechnologySetTechnologyServiceImpl extends ServiceImpl<MesTechnologySetTechnologyMapper, MESTechnologySetTechnology> implements IMESTechnologySetTechnologyService {

    @Autowired
    private MesTechnologySetTechnologyMapper mesTechnologySetTechnologyMapper;
    @Override
    public IPage<MesTechnologySetTechnologyVo> getTechnologySetTechnology(Page page, QueryWrapper queryWrapper) {
        return mesTechnologySetTechnologyMapper.getTechnologySetTechnology(page,queryWrapper);
    }

    @Override
    public List<MesTechnologySetTechnologyVo> getTechnologySetTechnology(QueryWrapper queryWrapper) {
        return mesTechnologySetTechnologyMapper.getTechnologySetTechnology(queryWrapper);
    }
}
